package com.jxdinfo.hussar.example.qjgl.ryqjsjmx.model;

import com.jxdinfo.hussar.platform.core.base.entity.BaseEntity;
import org.apache.ibatis.type.Alias;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 人员请假数据模型实体类
 */
@Alias("qjgl.ryqjsjmx.Ryqjsjmx")
@TableName("qj")
public class Ryqjsjmx implements BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 请假编号
     */
    @TableId("ID")
    private Long id;

    /**
     * 请假人
     */
    @TableField("ENAME")
    private String ename;

    /**
     * 联方式系
     */
    @TableField("PHONE")
    private String phone;

    /**
     * 请假时间
     */
    @TableField("LEAVETIME")
    private LocalDateTime leavetime;

    /**
     * 请假天数
     */
    @TableField("DAYS")
    private Double days;

    /**
     * 部门审核
     */
    @TableField("DEPARTMENT")
    private String department;

    /**
     * 公司审核
     */
    @TableField("COMPANY")
    private String company;

    /**
     * 请假原因
     */
    @TableField("REASON")
    private String reason;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public LocalDateTime getLeavetime() {
        return leavetime;
    }

    public void setLeavetime(LocalDateTime leavetime) {
        this.leavetime = leavetime;
    }

    public Double getDays() {
        return days;
    }

    public void setDays(Double days) {
        this.days = days;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return "ryqjsjmx{" + "id=" + id + ", ename=" + ename + ", phone=" + phone + ", leavetime=" + leavetime + ", days=" + days + ", department=" + department + ", company=" + company + ", reason=" + reason + "}";
    }
}
